package 分治;

/**
 * @description:
 * @author: ywk
 * @date: 2021-03-02
 */
public class CommonUtil {
    public static void printArr(int[] arr) {
        for (int i : arr) {
            System.out.print(i);
        }
        System.out.println();
    }

    public static void swap(int[] arr, int index, int i) {
        int temp = arr[index];
        arr[index] = arr[i];
        arr[i] = temp;
    }
}
